/*-----------------------------------------------------------------------
|                            FILE DESCRIPTION                           |
-----------------------------------------------------------------------*/
/*----------------------------------------------------------------------
  - File name     : Keyboard.h
  - Author        : liuzhihua
  - Update date   : 2022.3.6                  
  -	File Function : Keyboard Dirvers
-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------
|                               UPDATE NOTE                             |
-----------------------------------------------------------------------*/
/**
  * Update note:
  * ------------   ---------------   ----------------------------------
  *     Date            Author                       Note
  * ------------   ---------------   ----------------------------------
  *   2022.1.26       liuzhihua                   Create file
  *   2022.2.20		  liuzhihua				Support flip Encoding
  *   2022.3.6		  liuzhihua				Support pull-up button
***/

#ifndef _KEYBOARD_H_
#define _KEYBOARD_H_

#ifdef  __cplusplus
    extern "C" {
#endif
/*-----------------------------------------------------------------------
|                               INCLUDES                                |
-----------------------------------------------------------------------*/
#include "gpio.h"
#include "stm32f1xx_hal_gpio.h"
//#include "zh_main.h"
		
/*-----------------------------------------------------------------------
|                                DEFINES                                |
-----------------------------------------------------------------------*/

		
		
/*-----------------------------------------------------------------------
|                             API FUNCTION                              |
-----------------------------------------------------------------------*/
uint16_t Get_Keyborad(void);
char Keyboard_Scan(uint16_t input);
#ifdef __cplusplus
}
#endif

#endif
